package javacore.objects.test3;

class PresidentTest {
	public static void main(String args[]){
		
		President p1 =President.getPresident("Nazim");
		President p2 =President.getPresident("John");
		President p3 =President.getPresident("Saqib");
		
		p1.sayHello();
		p2.sayHello();
		p3.sayHello();
		
	}
}